<!--{template header}-->
<form action="{uri /system/page/upload}?plugin={#plugin}&ver={#ver}" method="post">
	<table class="table mt-3 contact-list v-middle footable footable-5 footable-paging footable-paging-center breakpoint-lg">
		<thead>
		<tr>
			<td>目录</td>
			<td align="right">文件大小</td>
		</tr>
		</thead>
		<tbody>
		<!--{loop #dirs $dir $size}-->
		<tr>
			<td>
				<label>$dir</label>
			</td>
			<td align="right">{echo number_format($size)} Bytes</td>
		</tr>
		<!--{/loop}-->
		<tr>
			<td colspan="2">
				<label><input type="radio" name="method" value="0" class="form-check-input" checked> 上传文件包提审</label>
				<label><input type="radio" name="method" value="1" class="form-check-input"> Git 提审</label>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				关于 Git 提审：
				<ul>
					<li>请先到<a href="https://dev.witframe.com/app/list/index" target="_blank">“开放平台”</a>相关应用的“基本资料”中设置 Git 参数；</li>
					<li>Git 的目录结构以“应用ID”目录为根目录，“分支ID”目录为子目录；</li>
					<li>“下载安装”类型的分支无法使用 Git 提审；</li>
				</ul>
			</td>
		</tr>
		</tbody>
	</table>
	<button type="submit" name="submit" value="yes" class="btn btn-info rounded-pill px-4 waves-effect waves-light"><i class="bi-check2-circle me-1"></i>提交</button>
</form>
<!--{template footer}-->
